Cover TOC Chap Prev Chap Prev Fig Next Fig Next Chap

Chapter 6: Rotating Shapes

../ch06/06fig07b.gif
Figure 6.7b

Rotating -45.0 degrees about the Z axis and building a box

06fig07b.wrl
Click on the image to view the VRML scene.

#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright (c) 1997
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Transform {
    rotation 0.0 0.0 1.0  -0.785
    children [
        Shape {
            appearance Appearance {
                material Material { }
            }
            geometry Box { }
        }
    ]
}